﻿using UnityEngine;

namespace com.yoozoo.gta.Gameplay.PVE
{
    /// <summary>
    /// 场景数据简化版本
    /// </summary>
    public class SimpleSceneData : ScriptableObject
    {
        // Assets/ResourcesAssets/Pve/Scene/citySceneConfig_streetLod0/Prefabs
        public string PrefabFolder;

        public int PrefabCount;

        // string[PrefabCount]:  Barrel2.prefab, ...
        public string[] PrefabNames;

        // string[PrefabCount]:  Barrel2.prefab, ...
        public Vector3[] Extents;

        // 物件总数 count
        public int ObjectCount;

        public int[] PrefabIndexes;

        public Vector3[] Centers;

        public Vector3[] Positions;

        // 稀疏的数据
        public int[] RotationObjectIndexes;

        public Vector3[] Rotations;

        public int[] ScaleObjectIndexes;

        public Vector3[] Scales;
    }
}